package com.wfh.ai;

import com.wfh.model.enums.CodeGenTypeEnums;
import dev.langchain4j.service.SystemMessage;

/**
 * @Title: AiCodeGenTypeRouteService
 * @Author wangfenghuan
 * @Package com.wfh.aigenerator.service
 * @Date 2025/8/9 15:09
 * @description:
 */
public interface AiCodeGenTypeRouteService {

    /**
     * 自动选择代码生成类型
     * @param userprompt
     * @return
     */
    @SystemMessage(fromResource = "/prompt/system-message-type.txt")
    CodeGenTypeEnums routeGenType(String userprompt);
}
